Method and system for switching between different types of operation of a sensorless permanent magnet brushless motor at low or zero speed to determine rotor position

ABSTRACT

The system and method disclose for the controlling of motor switching. The system includes a controller unit having a control signal generator, a memory device, a processing unit, a signal acquisition device, and an analog-to-digital converter. A power stage has a plurality of switches and receives a control signal from the control signal generator and a power signal from a power source. The power stage drives two windings of the set of three stator windings with a multi-state pulse and leaves one stator of the three stator windings undriven. The processing unit acquires a demodulated measured voltage on the undriven winding. The processing unit communicates with the power stage to change which two windings of the three stator windings are driven when the demodulated measured voltage surpasses a threshold.

CROSS-REFERENCE

This application is a Continuation in Part to U.S. Application entitled “Circuit and Method for Sensorless Control of a Permanent Magnet Brushless Motor During Start-up,” having Ser. No. 13/800,327 filed Mar. 13, 2013 and claims the benefit of U.S. Provisional Application entitled, “Circuit and Method for Sensorless Control of a Brushless Motor During Start-up,” having Ser. No. 61/651,736, filed May 25, 2012, which is entirely incorporated herein by reference.

FIELD

The present disclosure is generally related to motor controllers, and more particularly is related to a system and method for sensorless control of a permanent magnet brushless motor during start-up.

BACKGROUND

Sensored brushless motor technology is well-known and is useful for minimal flaw control at low speeds and reliable rotation. A sensored system has one or more sensors that continuously communicate with a motor controller, indicated to it what position the rotor is in, how fast it is turning, and whether it is going forward or reverse. Sensors in a sensored system increase cost and provide additional pieces that can break or wear down, adding durability and reliability issues. Sensorless systems can read pulses of current in the power connections to determine rotation and speed. Sensorless systems tend to be capable of controlling motors at higher speeds (e.g., revolutions per minute (“RPM”)), but may suffer jitter under a load at very low starting speeds, resulting in a performance inferior to sensored brushless motors.

Jitter is a phenomenon that occurs with sensorless brushless motor systems at initial starting speed and generally no longer exists after the motor has gained sufficient speed. Jitter comes about because at low or zero speed, the sensorless algorithm does not have enough information to decide which windings to energize and in what sequence. One common solution for starting a sensorless system is to energize one winding pair to lock the rotor at a known position. The motor windings are then commutated at a pre-defined rate and PWM duty cycle until the rotor reaches a speed sufficiently high for the sensorless control to engage. However, even this solution will cause jitter during startup, particularly if there are time varying loads. Jitter can be decreased or made imperceptible for loads with minimal initial torque or predictable initial torque. However, some motor application/use situations (such as starting an electric motor bike moving uphill) demand significant torque for initiation, and the initial torque is highly unpredictable. Use of sensorless brushless motor systems is sometimes discouraged for low-speed high-torque maneuvers, like rock-crawling or intricate and detailed track racing of an electric motor vehicle/bike, because in such difficult situations, significant jittering may occur and can lead to premature motor burnout.

FIG. 1 is a block diagram of a motor control system 10 in a three-phase power stage, as is known in the prior art. Many three-phase motor control systems 10 include a controller having a control signal generator 12, a gate driver 14, and a power stage 16. In case of sensorless control, feedback circuits are also included, specifically a detection network 18 and a current sensing circuit 20, which utilizes sense resistor R_(SENSE). In general, a goal of sensorless control is to detect a motor response to an applied pulse width modulated (PWM) source voltage to identify rotor position and movement.

Similarly, a current sense circuit 20 may be used to detect the magnitude and direction of motor current across driven windings. Low side shunt monitoring is used regularly. An often used configuration for low side monitoring is shown in FIG. 1. One skilled in the art can easily adopt alternative current sensing techniques such as monitoring phase current in each inverter branch including high-side monitoring and this alternative technique is known to those having ordinary skill in the art.

The control signal generator 12 is often powered from a low voltage source. As a result, a function of the gate driver 14 includes shifting the low voltage control signals to levels that match input requirements of the power stage 16. The power stage 16 includes semiconductor switching devices. MOSFETs are shown in FIG. 1, but other devices such as IGBTs may be used. The control signal can be made to generate trapezoidal (a.k.a. block or 6 step commutation) or sinusoidal drive from the power source V_(pwr). Pulse width modulation is typically used with trapezoidal drive in brushless DC (BLDC) motor control. Systems requiring lower audible noise or lower torque ripple benefit from sinusoidal drive.

Those skilled in the art with respect to PWM drive techniques understand a variety of modes to generate trapezoidal, sinusoidal, or other control. The motor response to a PWM drive can be detected via voltage on the motor phases and/or phase current(s).

As shown in FIG. 1 for a brushless DC motor control, the power stage 16 is driven such that current flows into a first motor phase (for example, phase U) and exits a second motor phase (for example, phase V). The rotor (not shown) position within the motor 30 dictates which phase pair to drive to attempt to achieve full torque and smooth (jitter-free) rotation of the rotor. The feedback controls are used to deduce rotor position.

FIG. 2 is an illustration of a wye-connected motor 30, as is known in the prior art. The wye-connected motor 30 in this illustration has a single-pole pair permanent magnet rotor 32 positioned such that its south pole 34 is proximate to the winding of the U-phase 36. Under these conditions, it is obvious to one skilled in the art that the W-phase 38 and the V-phase 40 are the appropriate phase pair to drive in order to initiate rotation of the rotor 32. The polarity of the permanent magnet rotor 32 determines the direction of current flow through the phase. Hence, the power stage 16 connects the W-phase 38 to V_(pwr) and the V-phase 40 to ground 24 resulting in current flow into the W-phase 38 and exiting the V-phase 40, as represented with the current arrows. A net effect of current flowing through coils W-phase 38 and V-phase 40 as shown in FIG. 2 is the formation of an electromagnet having a north pole at the W-phase 38 and a south pole at V-phase 40. This electromagnet produces a repulsive force between permanent magnet N-pole 42 and the electromagnet N-pole formed at the W-phase 38 and an attractive force between permanent magnet N-pole 42 and the electromagnet S-pole formed at the V-phase 38.

As N- and S-poles are attracted to each other, if the electromagnet persisted long enough in this current flow configuration, the resulting torque will move the permanent magnet N-pole 42 to a position shortly after the V-phase 40 and the permanent magnet S-pole 34 to a position shortly before the W-phase and rotation of the permanent magnet rotor 32 would stop. To perpetuate rotation of the permanent magnet rotor 32, the power stage 16 must commutate to a new phase pair. The optimum commutation point is a function of the rotor position relative to the coil of the undriven phase (the phase not driven by V_(pwr)). In FIG. 2, the U-phase 36 is the undriven phase. Ideally, the rotor angle would span −30° to +30° with respect to alignment with the coil of the undriven phase. As this 60° span is one sixth of one electrical revolution, it is commonly referred to as one sextant.

FIG. 3 is a 6-step commutation process further defined by Table 1, as is known in the prior art. Given the conditions illustrated in FIG. 2, a high level description of the sequence of steps commonly referred to as 6-step commutation process is outlined in Table 1 and further illustrated in FIG. 3.

TABLE 1 Six-step commutation sequence for a wye-connected motor shown in FIG. 2 Se- Driven quence Phase N-pole position S-pole position Rotor Step Pair relative to phases relative to phases Angle 0 WV W + 30° to V − 30° U − 30° to U + 30° 1.25-1.75 1 WU V − 30° to V + 30° U + 30° to W − 30° 1.75-2.25 2 VU V + 30° to U − 30° W − 30° to W + 30° 2.25-2.75 3 VW U − 30° to U + 30° W + 30° to V − 30° 2.75-0.25 4 UW U + 30° to W − 30° V − 30° to V + 30° 0.25-0.75 5 UV W − 30° to W + 30° V + 30° to U − 30° 0.75-1.25

The 6-step commutation sequence results in one electrical revolution. Given this simplified example, it is understood that a properly driven permanent magnet rotor will be driven one mechanical revolution when this six-step process is complete. An increase in number of pole pair results in an equivalent increase in the number of electrical revolutions per mechanical revolution. Comparing Table 1 and FIG. 2, it is understood that FIG. 2 illustrates Sequence Step 0 with the permanent magnet N-pole 42 pushed from the W-phase 38 and pulled by the attraction to the V-phase 40. When the permanent magnet S-pole 34 reaches the U+30° position, the power stage 16 commutates to Sequence Step 1 driving current from the W-phase 38 to the U-phase 36 causing the U-phase to become the electromagnetic S-pole. Thus, the U-phase 36 repels or pushes the permanent magnet S-pole 34 and the W-phase 38 attracts the S-pole, continuing the clockwise motion of the permanent magnet rotor 32.

Most current solutions to sensorless control of a brushless permanent magnet motor utilize a symmetric pulse width modulation signal. FIG. 4A is an illustration of one example of one symmetric pulse width modulation signal, as is known in the prior art. One cycle of a symmetric pulse width modulation signal may include a positive voltage V+ for a span of time T_(A) and then a negative voltage V− for the span of time T_(B), where the absolute values of V+ and V− are equivalent and a full PWM period is T_(A)+T_(B). The span of time spent at V+ is referenced as the energizing portion of the signal and the span of time spent at V− is referenced as the de-energized portion of the signal. FIG. 4B is an illustration of one example of one asymmetric pulse width modulation signal, as is known in the prior art. This signal includes a span of time T₁ at V+ and a second span of time T₂ at approximately 0V. The sum of T₁ and T₂ represents the PWM period. Both symmetric and asymmetric driven motors are difficult to control at start-up and low speeds. Because of the difficulty in locating the position of the rotor, it makes it difficult to identify the commutation sequence step that will provide the desired torque.

Thus, a heretofore unaddressed need exists in the industry to address the aforementioned deficiencies and inadequacies.

SUMMARY

Embodiments of the present disclosure provide a system and method for controlling sequential phase switching in driving a set of stator windings of a multi-phase sensorless brushless motor. Briefly described, in architecture, one embodiment of the system, among others, can be implemented as follows. The system includes a controller unit having a control signal generator, a memory device, a processing unit, a signal acquisition device, and an analog-to-digital converter. A power stage has a plurality of switches and receives a control signal from the control signal generator and a power signal from a power source. The power stage drives two windings of the set of three stator windings with a multi-state pulse and leaves one stator of the three stator windings undriven. The processing unit acquires a demodulated measured voltage on the undriven winding. The processing unit communicates with the power stage to change which two windings of the three stator windings are driven when the demodulated measured voltage surpasses a threshold.

The present disclosure can also be viewed as providing a method of controlling motor switching. The method includes the steps of: driving a multi-state pulse width modulated signal on two windings of a set of three windings; measuring a plurality of voltage values on an undriven winding of the set of three windings; signal processing the measured voltage values; and changing which two windings are driven when the processed voltage values exceed a commutation threshold.

Other systems, methods, features, and advantages of the present disclosure will be or become apparent to one with skill in the art upon examination of the following drawings and detailed description. It is intended that all such additional systems, methods, features, and advantages be included within this description, be within the scope of the present disclosure, and be protected by the accompanying claims.

BRIEF DESCRIPTION OF THE DRAWINGS

Many aspects of the disclosure can be better understood with reference to the following drawings. The components in the drawings are not necessarily to scale. Instead emphasis is being placed upon illustrating clearly the principles of the present disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.

FIG. 1 is a block diagram of a motor control system in a three-phase power stage, as is known in the prior art.

FIG. 2 is an illustration of a wye-connected motor, as is known in the prior art.

FIG. 3 is a 6-step commutation process further defined by Table 1, as is known in the prior art. FIG. 4A is an illustration of one example of one symmetric pulse width modulation signal, as is known in the prior art.

FIG. 4B is an illustration of one example of one asymmetric pulse width modulation signal, as is known in the prior art.

FIG. 5 is a block diagram of a motor control system in a three-phase power stage, in accordance with a first exemplary embodiment of the present disclosure.

FIG. 6 is an illustration of demodulated signals representing motor phases illustrated in FIG. 2.

FIG. 7 is an illustration of an exemplary voltage sense circuit that may be used in conjunction with the motor control system in FIG. 5, in accordance with the exemplary embodiment of the present disclosure.

FIG. 8 is an illustration of an exemplary current sense circuit that may be used in conjunction with the motor control system in FIG. 5, in accordance with the exemplary embodiment of the present disclosure.

FIG. 9 is an illustration of an exemplary multi-phase pulse width modulation signal for driving the motor, in accordance with an exemplary embodiment of the present disclosure.

FIG. 10A is an illustration of the demodulated undriven phase signal associated with the motor control system of FIG. 5, in accordance with the exemplary embodiment of the present disclosure.

FIG. 10B is an illustration of the demodulated undriven phase signal associated with the motor control system of FIG. 5, in accordance with the exemplary embodiment of the present disclosure.

FIG. 11 is an illustration of a flowchart illustrating a method of using the motor control system 110 of FIG. 5, in accordance with the exemplary embodiment of the present disclosure.

DETAILED DESCRIPTION

FIG. 5 is a block diagram of a motor control system 110 for a three-phase power stage 116 for a sensorless, brushless permanent magnet DC motor 30, in accordance with a first exemplary embodiment of the present disclosure. The motor control system 110 includes a controller unit 160 having a control signal generator 112, a memory device 162, a processing unit 164, a signal acquisition device 166, and an analog-to-digital convertor 170. The control signal generator 112 feeds six inputs into a gate driver 114. The gate driver 114, which may be powered by an independent power source (not illustrated), controls six MOSFET switches 168 in the power stage 116. Manipulation of the switches determines current flow from the power source V_(pwr) through the stator windings 36, 38, 40 in the motor 30.

The voltage sense circuit 118 and current sense circuit 120 are used for closed loop control of the motor. The power stage 116 has 6 switches grouped in pairs. Each switch pair is configured as a half bridge. Each switch has a control input. The outputs of power stage 116 are fed into the 3-phase BLDC motor windings U 36, V 40, W 38. The power stage 116 is supplied by a voltage source V_(pwr) having a DC voltage, which the power stage uses to supply a multi-state pulse width modulation signal to the windings U 36, V 40, W 38. The current return path for the voltage source V_(pwr) is through ground via current sense resistor R_(SENSE). The power stage 116 for a trapezoidally controlled multi-state pulse width modulated brushless DC motor 30 typically energizes two motor windings of the set of three windings 36, 38, 40 at a time.

A voltage signal is available at the undriven phase. This voltage signal can be used to generate a commutation signal by demodulating the undriven phase voltage synchronously with the PWM switching rate. The commutation signal, when a near-zero drive current is present, has a periodicity of ½ electrical revolutions. The shape of this commutation signal is related to the action of the permanent magnet rotor 32 on the stator windings 36, 38, 40. Demodulation can be performed by simply taking the difference in voltage between the undriven phase and the switching in two different driven states of the PWM. When a materially-greater-than-zero current is driven into the active pair of terminals, the signal has an added component with a periodicity of a full electrical cycle.

FIG. 6 is an illustration of demodulated undriven phase signals representing motor phases illustrated in FIG. 2 and FIG. 3. The subscript D indicates the signal is from a demodulated undriven winding. Here, the undriven phase signals are illustrated for a ½ electrical cycle superimposed upon each other relative to rotor angle. The proper commutation time can be determined by monitoring the undriven phase signal, derived from the demodulated undriven phase signal, and commutating at a value that is a function of the motor current. As the current increases, a comparison value will change, but FIG. 6 is representative of a near-zero current through the driven windings.

As illustrated in FIG. 6, the dotted line U_(D) represents the demodulated signal produced when the U-phase 36 is disconnected during commutation sequence step 0, and the WV phases 38, 40 are driven with a PWM wave. This drive combination is the connection that generates the most torque from the rotation position 1.25 to the 1.75 point on the x-axis, which is the sextant position

If the motor is being driven with torque pushing to the right, when 1.75 point is reached, the motor is rotating in the proper direction, and commutation from WV phases to WU phases should occur at the 1.75 point. Likewise, if the rotor is rotating counterclockwise while being electrically driven clockwise, such as starting an electric scooter on a hill, U_(D) has negative slope between 1.25 and 1.75. If the 1.25 point is reached, the prior commutation phase UV or commutation sequence step 5 should be switched in. These points are associated with the demodulated signal U_(D), reaching approximately 1.5 or −1.5 volts for forward or reverse commutation respectively, illustrated as THRESHOLD in FIG. 6. When 1.75 on the x-axis is reached, upon commutating to WU phases, the demodulated signal associated with the V-phase 40, i.e. V_(D), will then be generated. If 1.25 is reached (forced in reverse), the demodulated signal associated with the W phase, i.e. W_(D), will then be generated.

If the commutation signal component from the permanent magnets is dominant, determining the time for commutation is straightforward. The commutation signal from the undriven phase is derived, and when pre-determined values are reached, the motor is advanced to the next or prior phase. The prior phase advance is important, as the load may be rotating in the direction opposite to the desired rotation upon start. For maximum torque, it is important that the commutation levels be relatively accurate.

When the required starting torque is high, a materially-greater-than-zero current is needed through the driven windings to generate the high torque. The commutation breakpoint is harder to determine from the undriven phase signal when the driven winding current is high. The commutation signal transforms substantively with respect to rotational position when the current has surpassed a near-zero level.

FIG. 7 is an illustration of demodulated signals representing motor phases illustrated in FIG. 2 under the influence of high torque and current. The proper values for the demodulated undriven winding (U_(D)) signal at the previously identified commutation breakpoints (when the rotor angle is 1.25 and 1.75) are 0V and 3V. Thus, if the motor controller operated with a threshold of −1.5V and 1.5V for commutation, as was shown in FIG. 6, the motor would not be able to obtain the maximum available torque that is acquired with proper motor commutation. In the forward motion case, the commutation will be too early, causing a transfer to a commutation sequence step that will provide less torque. In the case the motor is rolling backward, the commutation may be too late to achieve high torque from the previous commutation step. Further, at slightly higher currents, the result may be failure to commutate altogether leading the controller to errantly attempt to drive the motor in the wrong direction. The effect of current on the demodulated signal may be different for even and odd sextants (commutation sequence steps 0, 2, and 4 as opposed to 1, 3, and 5). Motor characteristics indicate the portion of the demodulated signal associated with even sextants varies proportionally with current and the portion of demodulated signal associated with odd sextants varies inversely with current.

FIG. 8 is an exemplary current sense circuit 120 that may be used in conjunction with the motor control system 110 in FIG. 5, in accordance with the exemplary embodiment of the present disclosure. The current sense circuit 120 is placed in the feedback path of a second control loop, between a current sense resistor R_(SENSE) and the controller unit signal acquisition device 166. The power supply voltage levels of current sense circuit 120 and controller unit 160 are approximately the same. Current sense circuit 120 includes an amplifier 174 configured for differential measurement of voltage across R_(SENSE), as shown in FIG. 5. The amplifier 174 input common-mode voltage and gain are set such that amplifier output is at approximately mid-supply to facilitate monitoring of R_(SENSE) current flowing in positive and negative direction.

As previously described herein, the power stage 116 supplies a multi-stage pulse width modulation signal to the windings. The multi-stage pulse width modulation signal may be a signal that can switch between an asymmetric pulse width modulation signal and a symmetric pulse width modulation signal. The multi-stage pulse width modulation signal may also be a signal that has three voltage levels in a single period rather than the two voltage levels offered by the symmetric and asymmetric signals.

FIG. 9 is an illustration of an exemplary multi-phase pulse width modulation signal for driving the motor, in accordance with an exemplary embodiment of the present disclosure. The multi-phase pulse width modulation signal includes a positive voltage V+ for T₁, a negative voltage V− for T₂, and a zero voltage for T₃ such that the period of the signal is T₁+T₂+T₃. In comparison to the signals shown in FIG. 4A and FIG. 4B, the positive voltage stage in FIG. 9 is comparable to the energized stage in each of FIG. 4A and FIG. 4B. The negative stage in FIG. 9 is comparable to the de-energized stage in FIG. 4A. The zero stage in FIG. 9 is comparable to the de-energized stage in FIG. 4B. These three stages can be achieved with the same power stage 116 switching that was used to obtain the comparable stages in FIG. 4A and FIG. 4B.

Using this three stage pulse width modulation signal may increase signal to noise ratio (SNR), allowing for more effective use of the demodulated measured voltage to control commutating driven windings. A duration of each of the positive voltage portion, negative voltage portion and a zero voltage portion may be calculated based on operating conditions and motor characteristics and the duration of each portion may be altered for consecutive cycles to adapt to operating conditions and motor characteristics. The period of the multi-state pulse width modulated signal may be changed for subsequent cycles.

The motor control system 110 may be used to control a motor 30, such as the motor 30 illustrated in FIG. 2. FIG. 10A is an illustration of the demodulated undriven phase signal associated with the motor control system 110, in accordance with the exemplary embodiment of the present disclosure. Signals V and W are driven signals on two terminals of the motor 30. Initially, FIG. 10A illustrates a proximate 50% duty cycle PWM with complementary drive. The drive phase voltage will normally be a value between ground and the power supply voltage. The PWM signal then switches to an asymmetric drive. Signals V and W remain the driven windings on the motor 30. The W+ gate and the V− gate will close when energizing while the other four gates are open. While de-energizing, the W− gate and the V− gate will close, disconnecting the set of windings from power source V_(pwr) and connecting the W and V phases to each other and ground. The drive phase voltage will remain a value between ground and the power supply voltage. The PWM signal closes out by returning to the initial proximate 50% duty cycle PWM with complimentary drive.

Typical switching frequencies are in the range of 1 kHz to 25 KHz, depending on motor size and construction as well as other factors. The signal at the undriven phase is shown in FIG. 10A as signal U. Signal U changes as a function of rotor position which varies the magnetic fields in the stator. The demodulated undriven phase signal U_(o), which is used for position sensing, is derived by measuring the voltage difference on signal U between the high b_(n) and low a_(n) level while the pulse with modulation signal is symmetric. This voltage difference can be viewed as demodulation of the position signal from the PWM signal. When the PWM signal is asymmetric, the demodulated undriven phase signal U_(D) is derived by measuring the voltage during the energizing phase with respect to a reference voltage. This comparison of the measured voltage with a reference voltage is at least part of the demodulation step. The demodulated signal is compared with an established threshold, such as the threshold shown in FIG. 6, and used to determine the commutation breakpoint where the power stage output will switch to a next winding pair to drive. The illustration of U_(D) in FIG. 10A is analogous to the 1.25-1.75 rotor angle portion of the U_(D) curve in FIG. 6 operating with steady rotor movement.

FIG. 10B is an illustration of the demodulated undriven phase signal associated with the motor control system of FIG. 5, in accordance with the exemplary embodiment of the present disclosure. The signal at the undriven phase is shown in FIG. 10A as signal U. Signal U changes as a function of rotor position which varies the magnetic fields in the stator. The demodulated undriven phase signal U_(D), which is used for position sensing, is derived by measuring the voltage difference on signal U between the high b_(n) and low a_(n) level for the three-state pulse with modulation signal. This voltage difference can be viewed as demodulation of the position signal from the PWM signal. The demodulated signal is compared with an established threshold, such as the threshold shown in FIG. 6, and used to determine the commutation breakpoint where the power stage output will switch to a next winding pair to drive. The illustration of U_(D) in FIG. 10A is analogous to the 1.25-1.75 rotor angle portion of the U_(D) curve in FIG. 6 operating with steady rotor movement.

FIG. 11 is an illustration of a flowchart 200 illustrating a method of using the motor control system 110 of FIG. 5, in accordance with the exemplary embodiment of the present disclosure. It should be noted that any process descriptions or blocks in flow charts should be understood as representing modules, segments, portions of code, or steps that include one or more instructions for implementing specific logical functions in the process, and alternate implementations are included within the scope of the present disclosure in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present disclosure.

As is shown by block 202, a multi-state pulse width modulated signal is driven on two windings of a set of three windings. A voltage of an undriven winding of the set of three windings is measured (block 204). The measured voltage is demodulated (block 206). A different pair of windings of the set of three windings is driven when the demodulated measured voltage exceeds a threshold (block 208).

The step of changing which two windings are driven may involve changing which phases are driven after the demodulated measured voltage has exceeded the threshold for a set period of time. The undriven voltage signal may experience noise, and that noise may cause the threshold to be surpassed prematurely and temporarily. Verifying that the demodulated measured voltage continues to exceed the threshold for a period of time diminishes the possibility that the threshold is surpassed as a result of noise instead of properly identified rotor position.

When the multi-state pulse width modulated signal changes between an asymmetric and symmetric drive mode, as illustrated in FIG. 10A, can be based on a number of factors. The output on the undriven winding has different noise issues for low current and high current in asymmetric and symmetric modes. To enhance signal to noise ratio (SNR), the drive pulse may be changed between symmetric and asymmetric when a current through the two windings surpasses a signal switching threshold. The drive signal may be changed between symmetric and asymmetric when the commutation signal is captured. In another exemplary use, the controller unit 160 may have a clock that tracks how long a current commutation sequence step has been active and change between symmetric and asymmetric drive modes when a timing threshold is passed.

The system may switch between symmetric and asymmetric drive modes when a commutation threshold is proximate to the demodulated undriven voltage values. Both forward and reverse commutation thresholds may be considered when determining proximity of the thresholds.

The threshold may be set as a function of the pulse width modulated signal. For instance, as an amplitude of the pulse width modulation signal increases, the absolute value of the thresholds should increase to properly compensate for the undriven winding voltage also increasing in value. The threshold may be predetermined and modified as a function of a characteristic of the pulse width modulated signal. Similarly, the demodulated measured voltage value may be modified within the motor controller as a function of the pulse width modulated signal to allow the demodulated measured voltage value to intersect the threshold at the proper rotor rotation angles. The demodulated measured voltage may be modified by scaling the demodulated measured voltage.

While the pulse width modulation signal can be useful to project ways to modify the thresholds or the demodulated measured voltage, another value that can be useful is the current over the driven windings. The motor controller can use the current sense circuit to identify the current value over the driven windings. The demodulated measured voltage can be modified as a function of the current through the driven windings. The threshold can be modified as a function of the current through the driven windings.

First Exemplary Commutation Breakpoint Calculation

A pulse width modulation signal is provided to two windings at a level that provides a near zero average current (I_(min)) over the two windings. A first set of voltage data representing the motor voltage response signal on the undriven phase 36, spanning at least an entire sextant, is obtained. A first set of current data representing the driven phase current is collected corresponding to each data point in the first set of undriven voltage data. The process is repeated with a pulse width modulation signal that provides a mid-level drive phase current (a.k.a. I_(mid)) and again with a pulse width modulation signal that provides an approximately maximum drive phase current (a.k.a. I_(max)).

A first set of coefficients representing the influence of mid-level values of current is calculated based on first and second current data sets.

Coeff_(midCurrent)=(V _(MTR)(I _(mid))−V _(MTR)(I _(min)))/(I _(mid) −I _(min))

Where V_(MTR) is the demodulated motor voltage response signal based on the undriven phase 36.

A second set of coefficients representing the influence of max-level values of current is calculated based on first and third current data sets

Coeff_(maxCurrent)=(V _(MTR)(I _(max))−V _(MTR)(I _(min)))/(I _(max) −I _(min))

The effect of current on the commutation signal is different in odd sextants compared to even sextants. Therefore, said first and second sets of coefficients are created for both even and odd sextants.

Coeff_(midCurrent)(odd)

Coeff_(midCurrent)(even)

Coeff_(maxCurrent)(odd)

Coeff_(maxCurrent)(even)

The resultant coefficient values can be used as-is under specific conditions. For example, if an application runs at specific currents because the motor drives known loads, then the coefficients can be stored in a lookup table. At each operating current level, the coefficients can then be read from the table and used to compensate the undriven phase signal for that current.

Another method of modifying the threshold and/or demodulated voltage includes transforming the resultant coefficient values into slope and intercept values for even and odd sextants, which can then be generally applied for a wide set of current values. The Slope and Intercept values are stored in memory.

The coefficient as a function of current is calculated as:

Coefficient(I)=slope*I _(avg)+intercept

In this equation, I_(avg) is the average driven phase current, obtained in this example via amplifier 174 in difference configuration monitoring low side shunt resistor and generally described as current sense block in FIG. 5 and FIG. 8. The amplifier output is sampled and digitized in both the on and off portions of the PWM cycle. The values are digitally processed to produce the average motor phase current in the PWM cycle. The Slope and Intercept values may be obtained from memory device 162. Sextant parity determines whether slope and intercept data for odd or even sextants is used.

Slope is effectively calculated as ΔV/ΔI, hence, Coefficient(I) has units of resistance.

A correction factor as a function of current is then calculated as:

V _(CF)(I)=I _(avg)*Coefficient(I)

Controller unit memory device 162 contains constant values representing motor characteristics. Constant value(s) for commutation breakpoint is stored in memory device 162. Slope and intercept values are stored in memory device 162.

Processing unit 164 performs arithmetic calculations based on stored and measured data. Specifically, the correction factor, V_(CF)(I), is calculated and the motor voltage response on the undriven phase is demodulated. The processing unit 164 inverts the polarity of the demodulated signal in every other sextant such that the slope of the demodulated signal with respect to the direction of the applied torque is positively independent of the sextant. The processing unit 164 modifies the demodulated signal with the correction factor in accordance with the winding current. The processing unit 164 calculates direction of the demodulated signal based on its slope between commutation breakpoints, thereby confirming direction of rotation. A difference between first and second demodulated signal data points taken between consecutive commutation breakpoints is compared to a threshold value. A difference value greater than the threshold value indicates positive slope, while a difference value less than the threshold value indicates negative slope. The definition of slope by way of comparison to a threshold value is arbitrary. For example, a difference value less than a threshold value could just as well define a positive slope.

The processing unit 164 compares a modified/corrected demodulated signal to a stored forward commutation breakpoint. At least one occurrence of the combination of a modified demodulated signal having value greater than the forward commutation breakpoint value and confirmed forward direction of rotation results in processing unit 164 controlling the control signal 112 to commutate the power stage 116 to a next phase pair. Requiring multiple occurrences of the satisfying condition prior to commutating may increase system robustness. The processing unit 164 compares a modified/corrected demodulated signal to a stored reverse commutation breakpoint. At least one occurrence of the combination of a modified demodulated signal having value less than the reverse commutation breakpoint value and confirmed reverse direction of rotation results in processing unit 164 controlling PWM 112 to commutate the power stage 116 to a previous phase pair. Requiring multiple occurrences of the satisfying condition prior to commutating may increase system robustness.

An average current across the driven windings can be acquired a number of ways, including measurement and modeling, some of which are known to those skilled in the art. One useful method for obtaining the current across the driven windings is averaging a current measured by an analog to digital convertor and a current sense mechanism. As is discussed above, the average current is used to modify at least one of the thresholds and the demodulated measured voltage.

When the rotor rotates fast enough, relative to other motor characteristics and operating conditions, a reliable back EMF signal becomes available. Use of a reliable back EMF signal to control commutation from driven pair to driven pair is well known in the art. Thus, the techniques disclosed herein are designed for controlling commutation when the rotor is not moving or is rotating at speeds below which a reliable back EMF signal is available. The motor control switches to the back EMF commutation technique when a rotational speed of the rotor surpasses a speed threshold such that the reliable back EMF signal is available.

It should be emphasized that the above-described embodiments of the present disclosure, particularly, any “preferred” embodiments, are merely possible examples of implementations, merely set forth for a clear understanding of the principles of the disclosed system and method. Many variations and modifications may be made to the above-described embodiments of the disclosure without departing substantially from the spirit and principles of the disclosure. All such modifications and variations are intended to be included herein within the scope of this disclosure and protected by the following claims. 

What is claimed is:
 1. A method of controlling motor switching, the method comprising: driving a multi-state pulse width modulated signal on two windings of a set of three windings; measuring a plurality of voltage values on an undriven winding of the set of three windings; demodulating the measured voltage values; and changing which two windings are driven when the demodulated voltage values exceed a commutation threshold.
 2. The method of claim 1, wherein the multi-state pulse width modulated signal further comprises changing from a first pulse width modulated signal to a second pulse width modulated signal driving the two windings of the set of three windings, wherein the first pulse width modulated signal operates in a symmetric mode and the second pulse width modulated signal operates in an asymmetric mode.
 3. The method of claim 2, wherein changing from the first pulse width modulated signal to the second pulse width modulated signal is performed when a current through the two windings surpasses a signal switching threshold.
 4. The method of claim 2, wherein changing from the first pulse width modulated signal to the second pulse width modulated signal is performed when an energizing portion of the first pulse width modulated signal exceeds a timing threshold.
 5. The method of claim 2, wherein changing from the first pulse width modulated signal to the second pulse width modulated signal is performed after changing which two windings are driven.
 6. The method of claim 1, wherein the multi-state pulse width modulated signal further comprises changing from a first pulse width modulated signal to a second pulse width modulated signal driving the two windings of the set of three windings, wherein the first pulse width modulated signal operates in an asymmetric mode and the second pulse width modulated signal operates in a symmetric mode.
 7. The method of claim 6, wherein changing from the first pulse width modulated signal to the second pulse width modulated signal is performed when a current through the two windings falls below a signal switching threshold.
 8. The method of claim 6, wherein changing from the first pulse width modulated signal to the second pulse width modulated signal is performed when an energizing portion of the first pulse width modulated signal is below a timing threshold.
 9. The method of claim 6, wherein changing from the first pulse width modulated signal to the second pulse width modulated signal is performed when the demodulated voltage values are proximate to the commutation threshold.
 10. The method of claim 1, wherein the multi-state pulse width modulated signal further comprises a hybrid cycle that includes a positive voltage portion, a negative voltage portion, and a zero voltage portion within one cycle.
 11. The method of claim 10, wherein a duration of each of the positive voltage portion, negative voltage portion, and a zero voltage portion is calculated based on operating conditions and motor characteristics.
 12. The method of claim 1, wherein a period of the multi-state pulse width modulated signal is changed for a subsequent cycle.
 13. A system for controlling motor switching, the system comprising: a controller unit comprising a control signal generator, a memory device, a processing unit, a signal acquisition device, and an analog-to-digital converter; a power stage having a plurality of switches, wherein the power stage receives a control signal from the control signal generator and a power signal from a power source, wherein the power stage drives two windings of the set of three stator windings with a multi-state pulse and leaves one stator of the three stator windings undriven; wherein the processing unit acquires a demodulated measured voltage on the undriven winding; and wherein the processing unit communicates with the power stage to change which two windings of the three stator windings are driven when the demodulated measured voltage surpasses a threshold.
 14. The system of claim 13, wherein the power stage drives the two windings with a symmetric drive signal and an asymmetric drive signal during a single commutation sequence step.
 15. The system of claim 13, wherein the processor determines whether the power stage drives the two windings with a symmetric drive signal or an asymmetric drive signal, wherein the processor determination is based on an output from the signal acquisition device.
 16. The system of claim 13, wherein a single multi-state pulse period includes three states, that comprises a positive voltage, a negative voltage, and a ground.
 17. The system of claim 13, further comprising a clock in the controller unit, wherein the clock is programmed to measure time elapsed within a current commutation step and the multi-state pulse further comprises the power stage switching between a first pulse width modulation drive signal and a second pulse width modulation drive signal when a determined time has elapsed within the current commutation step.
 18. The system of claim 13, wherein the multi-state pulse further comprises the power stage switching between a first pulse width modulation drive signal and a second pulse width modulation drive signal when the demodulated measured voltage is proximate to the threshold.
 19. The system of claim 13, wherein the processing unit demodulates the measured voltage. 